package com.newtouch.avmarketing.mgr.modules.avmarkrting.service.impl;

import com.newtouch.avmarketing.mgr.modules.avmarkrting.entity.VideoInformation;
import com.newtouch.avmarketing.mgr.modules.avmarkrting.repo.VideoInformationRepo;
import com.newtouch.avmarketing.mgr.modules.avmarkrting.service.VideoInformationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class VideoInformationServiceImpl implements VideoInformationService {

    @Autowired
    private VideoInformationRepo videoInformationRepo;
    @Override
    public List<VideoInformation> findByPolicyCode(String policyCode) {
        return videoInformationRepo.findByPolicyCode(policyCode);
    }
}
